package com.ruoyi.common.domain.doctor;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问诊功能对象 consult
 * 
 * @author ZK
 * @date 2025-08-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Consult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问诊ID */
    private Long id;

    /** 患者 */
    @Excel(name = "患者")
    private Long patientId;

    /** 医生 */
    @Excel(name = "医生")
    private Long doctorId;

    /** 问诊描述 */
    @Excel(name = "问诊描述")
    private String description;

    /** 问诊状态 */
    @Excel(name = "问诊状态")
    private String status;

    /** 问诊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "问诊时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 删除标记：0未删除，1已删除 */
    private Integer del;
    private String diseaseTime;

    @Excel(name = "医生姓名")
    private String doctorName;

    private Patient patient;
}
